﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sync_MD5Check
{
    class CompareResult
    {
        #region Enum
        public enum Result
        {
            NOTFOUND_FIRSTDIR,
            NOTFOUND_SECONDDIR,
            MD5_DIFF,
            SAME_FILE,
            OTHER,
            NONE
        };
        #endregion

        #region Attributes

        private FileInfo _firstFile;
        private FileInfo _secondFile;
        private Result _result;

        #endregion

        #region Get & Set

        public CompareResult()
        {
            _result = Result.NONE;
        }

        public FileInfo FirstFile
        {
            get { return _firstFile; }
            set { _firstFile = value; }
        }

        public FileInfo SecondFile
        {
            get { return _secondFile; }
            set { _secondFile = value; }
        }

        public Result ResultInfo
        {
            get { return _result; }
            set { _result = value; }
        }

        #endregion
    }
}
